#编译debug或者release
DEBUG = 0
    
#越狱iPhone的ip地址
# 需要添加到环境变量中才能生效,命令： "export THEOS_DEVICE_IP=192.168.8.220"
THEOS_DEVICE_IP = 192.168.3.41

#指定支持的处理器架构
ARCHS = armv7 arm64

#指定需要的SDK版本iphone:Base SDK:Deployment Target
#最新的SDK，程序发布在iOS8.0以上
TARGET = iphone:latest:8.0

include /opt/theos/makefiles/common.mk

TWEAK_NAME = FirstReProj
FirstReProj_FILES = Tweak.xm fishhook.c

include $(THEOS_MAKE_PATH)/tweak.mk

#导入框架，多个框架时用空格隔开
#FirstReProj_FRAMEWORKS = UIKit 
#FirstReProj_PRIVATE_FRAMEWORKS = AppSupport

#链接libsqlite3.0.dylib、libz.dylib和dylib1.o
#MyFirstReProject_LDFLAGS = -lz –lsqlite3.0 –dylib1.o

#make clean
clean::
	rm -rf ./packages/*

#指定tweak安装之后，需要做的事情，这里是杀掉SpringBoard进程 
after-install::
	install.exec "killall -9 SpringBoard"
	